package user;

import book.Booklist;
import operations.Operation;

public abstract class User {
    public String name;

    public User(String name){
        this.name = name;
    }

    public abstract int menu();

    public Operation[] operations;

    public void doOperation(int choice, Booklist booklist) {
        operations[choice].work(booklist);
    }
}
